package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-03-19
 */
public class RetailSet extends Model<RetailSet> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 对应的门店-唯一索引
     */
    private String storeId;

    /**
     * 出库仓库
     */
    private String houseId;

    /**
     * 现金对应的结算账户
     */
    private String cashSettAccountId;

    /**
     * 银行卡对应的结算账户
     */
    private String cardSettAccountId;

    /**
     * 默认客户
     */
    private String customId;

    private Date time;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }
    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }
    public String getCashSettAccountId() {
        return cashSettAccountId;
    }

    public void setCashSettAccountId(String cashSettAccountId) {
        this.cashSettAccountId = cashSettAccountId;
    }
    public String getCardSettAccountId() {
        return cardSettAccountId;
    }

    public void setCardSettAccountId(String cardSettAccountId) {
        this.cardSettAccountId = cardSettAccountId;
    }
    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId;
    }
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "RetailSet{" +
            "id=" + id +
            ", storeId=" + storeId +
            ", houseId=" + houseId +
            ", cashSettAccountId=" + cashSettAccountId +
            ", cardSettAccountId=" + cardSettAccountId +
            ", customId=" + customId +
            ", time=" + time +
            ", companyId=" + companyId +
        "}";
    }
}
